home *** CD-ROM | disk | FTP | other *** search
/ Advanced Placement Companion: Precalculus / Advanced Placement Companion: Precalculus.iso / pc / M_DIR / 1201010C.DIR / 00003.ls < prev    next >
Encoding:
Text File  |  1998-04-15  |  1.0 KB  |  49 lines

  1. on startMovie
  2.   setCursor(5)
  3.   setCursor(6)
  4. end
  5.  
  6. on specA sNum, graphicNum
  7.   setCursor(sNum)
  8.   if rollOver(sNum) = 1 then
  9.     set the visible of sprite graphicNum to 1
  10.   else
  11.     set the visible of sprite graphicNum to 0
  12.   end if
  13. end
  14.  
  15. on setCursor sNum
  16.   set the cursor of sprite sNum to [cast "Hand Cursor", cast "hand cursor alpha"]
  17. end
  18.  
  19. on specC sNum, graphicNum
  20.   if rollOver(sNum) = 1 then
  21.     set the visible of sprite graphicNum to 1
  22.   else
  23.     set the visible of sprite graphicNum to 0
  24.   end if
  25. end
  26.  
  27. on SpecD sNum, location
  28.   set thisOne to the clickOn
  29.   set the locH of sprite thisOne to the locH of sprite thisOne + 2
  30.   set the locV of sprite thisOne to the locV of sprite thisOne + 2
  31.   updateStage()
  32.   puppetSound("click")
  33.   updateStage()
  34.   repeat while soundBusy(1)
  35.   end repeat
  36.   set the locH of sprite thisOne to the locH of sprite thisOne - 2
  37.   set the locV of sprite thisOne to the locV of sprite thisOne - 2
  38.   updateStage()
  39.   if the clickOn = sNum then
  40.     go(location)
  41.   else
  42.   end if
  43. end
  44.  
  45. on SpecE location
  46.   puppetSound("click")
  47.   go(location)
  48. end
  49.